package com.gqz.patrol.mapstruct;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gqz.patrol.entity.EnInterfaceCodeEntity;
import com.gqz.patrol.vo.EnInterfaceCodeVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper(componentModel = "spring", imports = {})
@Component
public interface EnInterfaceCodeMapstruct {

    EnInterfaceCodeVo toVo(EnInterfaceCodeEntity entity);

    List<EnInterfaceCodeVo> toVos(List<EnInterfaceCodeEntity> entity);

    Page<EnInterfaceCodeVo> toVos(Page<EnInterfaceCodeEntity> entity);

    EnInterfaceCodeEntity toEntity(EnInterfaceCodeVo vo);

    List<EnInterfaceCodeEntity> toEntitys(List<EnInterfaceCodeVo> vos);


}
